<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<title></title>
</head>
<body>
	<div align="center">

		<table width="900">
			<tr>
				<br>
				<td><%@include file="top.jsp"%><br></td>
			</tr>
			<tr>
				<td width="80%" height="15" valig="top">

					<div style="float:right">
						<a href="employee/employeeadd.jsp">新建</a><br> <br>
					</div>
					<table class=table width="100%">
						<col width="10%">
						<col width="10%">
						<col width="5%">
						<col width="20%">
						<col width="10%">
						<col width="10%">
						<col width="10%">
						<col width="5%">
						<col width="10%">
						<tr class="title">
							<td style="text-align:center">职工账号</td>
							<td style="text-align:center">姓名</td>
							<td style="text-align:center">性别</td>
							<td style="text-align:center">联系地址</td>
							<td style="text-align:center">E-mail</td>
							<td style="text-align:center">电话</td>
							<td style="text-align:center">状态</td>
							<td style="text-align:center">操作</td>
						</tr>

						<!-- 遍历开始 -->
						<s:iterator value="#session.employee_list" var="employee">
							<tr class="list">
								<td style="text-align:center"><s:property
										value="#employee.userid" /></td>
								<td style="text-align:center"><s:property
										value="#employee.username" /></td>
								<td style="text-align:center"><s:property
										value="#employee.gender" /></td>
								<td style="text-align:center"><s:property
										value="#employee.address" /></td>
								<td style="text-align:center"><s:property
										value="#employee.email" /></td>
								<td style="text-align:center"><s:property
										value="#employee.phone" /></td>
								<td style="text-align:center"><s:property
										value="#employee.state" /></td>
								<td style="text-align:center"><a
									href="<%=path%>/admin/UserinfoAction_delete.action?userid=<s:property value="#employee.userid"/>"
									onclick="javascript: return confirm('真的要删除吗？');">删除</a></td>
							</tr>
						</s:iterator>
					</table>
				</td>
			<tr>

			</tr>
		</table>
	</div>
</body>
</html>
